Ext.define("admin.view.basicInfo.cardUserMainView", {
    extend: 'Ext.panel.Panel',
    layout: 'border',
    alias: 'widget.basicInfo.cardUserMainView',
    items: [{
        region: 'north',
        xtype: 'panel',
        border: false,
        defaults: {
            margin: '5 5 5 5',
            labelWidth: 70,
            border: false,
            defaultType: 'textfield',
            labelAlign: "center"
        },
        layout: {
            type: 'table',
            columns: 5
        },
        items: [
            {xtype: 'textfield', fieldLabel: '用户编号', name: 'username'},
            {xtype: 'textfield', fieldLabel: '用户名称', name: 'userIdentifier'},
            {xtype: 'textfield', fieldLabel: '身份证号', name: 'userIdCode'},
            {xtype: 'button', text: '查询', scale: 'medium', iconCls: 'search_24', border:true, rowspan: 2},
            {xtype: 'button', text: '刷新', scale: 'medium', iconCls: 'refresh_24', border:true, rowspan: 2},
            {xtype: 'textfield', fieldLabel: '卡片编号', name: 'cardSerialNumber'},
            {xtype: 'textfield', fieldLabel: '卡片内码', name: 'cardIdentifier'},
            {xtype: 'combobox', fieldLabel: '用户状态', name: 'cardStatus',store:'cardUserStatusStore',valueField:'name',displayField:'name'},
        ]
    }, {
        region: 'center',
        xtype: 'panel',
        layout: 'fit',
        xtype: 'basicInfo.cardUserListGridView'
    }]
});
